package com.cjw.pojo.query.database;

import com.cjw.pojo.dto.database.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class RegisterUserDTO extends BaseDTO {
    @ApiModelProperty("用户名")
    @NotNull
    private String userName;

    @ApiModelProperty("密码")
    @NotNull
    private String password;

    @ApiModelProperty("确认密码")
    @NotNull
    private String confirmPassword;

    @ApiModelProperty("电话号码")
    @NotNull
    private String phone;

}
